/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.cem.cemweb.person_module.objects;

/**
 *
 * @author soloink
 */
public class Ethnicity implements java.io.Serializable{
    public Ethnicity(){}
    
    /** Variables **/
    private Long id;
    private String name;
    private String code;
    private int dis_id;
    private String descr;
    private Integer has_subset;
    private Long is_subset_of=new Long(1);

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getDis_id() {
        return dis_id;
    }

    public void setDis_id(int dis_id) {
        this.dis_id = dis_id;
    }

    public String getDescr() {
        return descr;
    }

    public void setDescr(String descr) {
        this.descr = descr;
    }

    public Integer getHas_subset() {
        return has_subset;
    }

    public void setHas_subset(Integer has_subset) {
        this.has_subset = has_subset;
    }

    public Long getIs_subset_of() {
        return is_subset_of;
    }

    public void setIs_subset_of(Long is_subset_of) {
        this.is_subset_of = is_subset_of;
    }
}
